#define _CRT_SECURE_NO_WARNINGS
#include "12.18_hs.h"

char* my_strcpy(char* d, const char* s)
{
	assert(d && s);
	char* ret = d;
	while (*(d++) = *(s++))
	{
		;
	}
	return ret;
}

char* my_strcat(char* d, const char* s)
{
	assert(d && s);
	char* ret = d;
	while (*d)
	{
		d++;
	}
	while (*d++ = *s++)
	{
		;
	}
	return ret;
}